/**
 * PontoFunc PontoFunc.java
 */

package CCT220_Trabalho05_13106_Q1.model;

/**
 * </br>******************************
 * </br>Project: CCT220
 * </br>Package: CCT220_Trabalho05_13106.model
 * </br>Class: PontoFunc
 * </br>Last Change: 11/10/2011 21:36:56 by marcel
 * </br>Description: Entity: Class to control the sheet of the Funcionario
 * </br>******************************</br>
 * 
 * @author marcel
 * @author 13106
 * 
 */
public class PontoFunc {
	/**
	 * int
	 */
	private final int mes;
	private final int ano;
	private int       nroFaltas;
	private int       nroAtrasos;


	/**
	 * </br>******************************
	 * </br>Constructor for
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>LastChange: 11/10/2011 21:44:06 by marcel
	 * </br>******************************</br>
	 * 
	 * @param mes
	 * @param ano
	 */
	public PontoFunc(int mes, int ano) {

		super();
		this.mes = mes;
		this.ano = ano;
	}


	/**
	 * </br>******************************
	 * </br>Constructor for
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>LastChange: 11/10/2011 21:44:15 by marcel
	 * </br>******************************</br>
	 * 
	 * @param mes
	 * @param ano
	 * @param nroFaltas
	 * @param nroAtrasos
	 */
	public PontoFunc(int mes, int ano, int nroFaltas, int nroAtrasos) {

		super();
		this.mes = mes;
		this.ano = ano;
		this.nroFaltas = nroFaltas;
		this.nroAtrasos = nroAtrasos;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: lancaFaltas
	 * </br>Last Change: 11/10/2011 21:46:23 by marcel
	 * </br>Description: Increment the nroFaltas by nroFaltas
	 * </br>******************************</br>
	 * 
	 * @param nroFaltas
	 */
	public void lancaFaltas(int nroFaltas) {

		this.nroFaltas += nroFaltas;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: lancaAtrasos
	 * </br>Last Change: 11/10/2011 21:46:26 by marcel
	 * </br>Description: Increment the nroAtrasos by nroAtrasos
	 * </br>******************************</br>
	 * 
	 * @param nroAtrasos
	 */
	public void lancaAtrasos(int nroAtrasos) {

		this.nroAtrasos += nroAtrasos;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: getMes
	 * </br>Last Change: 11/10/2011 21:44:34 by marcel
	 * </br>Description: Getter for mes
	 * </br>******************************</br>
	 * 
	 * @return the mes
	 */
	public int getMes() {

		return mes;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: getAno
	 * </br>Last Change: 11/10/2011 21:44:34 by marcel
	 * </br>Description: Getter for ano
	 * </br>******************************</br>
	 * 
	 * @return the ano
	 */
	public int getAno() {

		return ano;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: getNroFaltas
	 * </br>Last Change: 11/10/2011 21:44:34 by marcel
	 * </br>Description: Getter for nroFaltas
	 * </br>******************************</br>
	 * 
	 * @return the nroFaltas
	 */
	public int getNroFaltas() {

		return nroFaltas;
	}


	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106.model
	 * </br>Class: PontoFunc
	 * </br>Method: getNroAtrasos
	 * </br>Last Change: 11/10/2011 21:44:34 by marcel
	 * </br>Description: Getter for nroAtrasos
	 * </br>******************************</br>
	 * 
	 * @return the nroAtrasos
	 */
	public int getNroAtrasos() {

		return nroAtrasos;
	}

}
